package com.mtw.bbs.bbsUser.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.mtw.bbs.userAdmin.pojo.vo.BaseUserVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("用户详情VO")
public class UserDetailsVo extends BaseUserVo {



    /**
     * 账号
     */
    @ApiModelProperty(value = "账号")
    private String username;

    /**
     * 昵称
     */
    @ApiModelProperty(value = "昵称")
    private String displayName;


    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱")
    private String email;

    /**
     * 手机
     */
    @ApiModelProperty(value = "手机")
    private String phone;

    /**
     * 生日
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "生日")
    private Date birthday;

    /**
     * 性别
     */
    @ApiModelProperty(value = "性别")
    private Integer sex;

    /**
     * 星座
     */
    @ApiModelProperty(value = "星座")
    private String constellation;

    /**
     * 签名
     */
    @ApiModelProperty(value = "签名")
    private String introduction;

    /**
     * 地区
     */
    @ApiModelProperty(value = "地区")
    private String address;



    @ApiModelProperty(value = "粉丝数")
    private Integer fansCount;


    @ApiModelProperty(value = "关注数")
    private Integer followCount;


    @ApiModelProperty(value = "获赞数数")
    private Integer likeCount;


    @ApiModelProperty(value = "是否已关注,1为已关注")
    private Integer followed;








}